package com.xs.designpattern;

/**
 * @author xs
 */
public class Goblin extends Target{
    /**
     * 构造函数设置默认的大小和可见性
     */
    public Goblin() {
        setSize(Size.NORMAL);
        setVisibility(Visibility.VISIBLE);
    }

    @Override
    public String toString() {
        return "哥布林";
    }
}
